<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	<title>Embedding the Google Earth Plugin in Desktop Applications</title>
	<style type="text/css">
	h1, h2, h3 {
	  font-family: helvetica, arial, sans-serif;
  }
  
  h2 {
    margin-bottom: 0;
  }
  
  h3 {
    margin-top: 0;
    font-size: 80%;
  }
	</style>
</head>
<body>

<h1>Embedding the Google Earth Plugin in Desktop Applications</h1>

<p style="color: #f00;">
  WARNING: Before beginning work on your own Google Earth Plugin based
  desktop application, make sure to read through the
  <a href="http://code.google.com/apis/maps/terms.html">Google Earth API Terms
  of Service</a>.
</p>

<p>
  These days, there are so many desktop application frameworks, that it would
  be impossible to create a one-size-fits-all demo for embedding the
  <a href="http://code.google.com/apis/earth">Google Earth Plugin</a>
  in desktop applications. Instead, we chose to demonstrate this
  process using the most popular application framework for each of the plugin's
  currently supported operating systems.
</p>

<p>
  NOTE: there <em>may</em> someday be a cross-platform solution using
  a multi-platform framework such as
  <a href="http://www.qtsoftware.com/">Qt</a> or
  <a href="http://www.adobe.com/products/air/">Adobe AIR</a>, but until
  full <acronym title="Netscape Plugin API">NPAPI</acronym> and
  <code>npruntime</code> support comes to these frameworks, this will
  not be possible.
</p>

<table cellpadding="0" cellspacing="0" border="0" width="100%">
  <tr>
    <td valign="top" align="center">
      <h2>Windows Forms (.NET Framework)</h2>
      <h3>Windows only, sample in C#</h3>
      <p>
        <a href="GoogleEarthPluginWindowsForms">View Source</a> |
        <a href="GoogleEarthPluginWindowsForms.zip">Download ZIP (18 KB)</a>
      </p>
      <p>
        <img src="screen-winforms.png">
      </p>
      <p>
        Sample by
        <a href="http://fraserchapman.blogspot.com/">Fraser Chapman</a> and
        <a href="http://googlegeodevelopers.blogspot.com/">Roman Nurik</a>
      </p>
      <p>
        See also
        <a href="http://code.google.com/p/winforms-geplugin-control-library/">
          winforms-geplugin-control-library Open Source Project</a>
      </p>
    </td>
    <td valign="top" align="center">
      <h2>Cocoa</h2>
      <h3>Mac OS X only, sample in Objective-C</h3>
      <p>
        <a href="GoogleEarthPluginCocoa">View Source</a> |
        <a href="GoogleEarthPluginCocoa.zip">Download ZIP (49 KB)</a>
      </p>
      <p>
        <img src="screen-cocoa.png">
      </p>
      <p>
        Sample by
        <a href="http://googlegeodevelopers.blogspot.com/">Roman Nurik</a>
      </p>
    </td>
  </tr>
</table>


</body>
</html>
